
import Vue from "vue";
import App from "./App";
import router from "./router/index" //引入你新建的router文件

import store from './store/index';//引入你新建的store文件

import ElementUI from 'element-ui';//引入ElementUI
import 'element-ui/lib/theme-chalk/index.css';//引入ElementUI.css
Vue.use(ElementUI);//使用ElementUI
import axios from "./axios";

Vue.prototype.$axios=axios;
Vue.config.productionTip = false;
import '@/mock/mockServe'////引入mock
require("./moks.js")

new Vue({
  el: "#app",
  router, //在根上注册router
  store, //在根上注册store
  render: h => h(App)
})


